package org.pray.activity.bridgeconnect;

/**
 * BridgeTest
 *
 * @author 春江花朝秋月夜
 * @since 2024/3/17 14:54
 */
//测试桥接模式
public class BridgeTest {
    public static void main(String[] args) {
        HeTangNaiLv heTangNaiLv=new HeTangNaiLv(new Large());
        System.out.println("你点了一杯："+heTangNaiLv.getType()+" "+heTangNaiLv.getSize());
    }
}
